{{ define "login.html"}}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Admin - 登录</title>
    <link rel="shortcut icon" href="public/favicon.ico">
    <link href="public/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="public/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="public/css/animate.css" rel="stylesheet">
    <link href="public/css/style.css?v=4.1.0" rel="stylesheet">
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>
    <script src="public/js/jquery.min.js?v=2.1.4"></script>
    <script src="public/js/bootstrap.min.js?v=3.3.6"></script>
</head>

<body class="gray-bg">
    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div style="padding: 100px 0;">
            <div>
                <span class="logo-name">Admin</span>
            </div>
            <br/>
            <h4 style="color: red;">{{ .tips }}</h4>
            <form class="m-t" role="form" action="/login" method="post">
                <div class="form-group">
                    <input type="text" autofocus name="username" class="form-control" placeholder="用户名" required>
                </div>
                <div class="form-group">
                    <input type="password" name="password" class="form-control" placeholder="密码" required>
                </div>
                <div class="form-group" style="float: left;">
                    <div class="checkbox" style="text-align: left">
                        <label>
                            <input type="checkbox" name="remember" style="margin-top: 2px;">记住我
                        </label>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
                </p>
            </form>
        </div>
    </div>
</body>
</html>
        {{ end }}